{{define "title"}}Keysight IO Libraries Suite{{end}}

{{define "body"}}

<section>
    <h2>Control Request</h2>
    
    <p class="lead">Secure Instrument Communication Expert with <b class="text-primary">{{.Name}}</b> is requesting control permission of IO Libraries Suite to send security configuration to the test station.</p>

    <p>
        
    </p>
    
    <span id="requestId" class="invisible">{{.ID}}</span>
    <span id="timeoutSeconds" class="invisible">{{.Seconds}}</span>


    <h3 class="text-center">
        Please respond within
    </h3>
    <p class="text-center">
        <span id="remain" class="timer"></span>
    </p>

    <p class="text-center">
        <button id="btn-grant" class="alloy-button alloy-button-standard alloy-toggled">Grant</button>
        <button id="btn-reject" class="alloy-button alloy-button-standard">Reject</button>
    </p>
</section>

{{end}}

{{define "script"}}
<script src="assets/js/common.js" type="text/javascript"></script>
<script src="assets/js/request-control.js" type="text/javascript"></script>
{{end}}